package com.hyst.service;

import java.util.Map;

import com.github.pagehelper.Page;
import com.hyst.domain.WechatInterfaceView;

/**
 * @Description:Service
 * @author：dy 
 * @Date：2018年09月23日
 */

public interface WechatInterfaceViewService {

	/**
	 * @Description: 根据条件列表查询
	 * @param wechatInterfaceView
	 * @return Page<WechatInterfaceView>
	 */
	Page<WechatInterfaceView> list(WechatInterfaceView wechatInterfaceView);

	/**
	 * @Description:添加单条记录，空属性值会采用数据库默认值插入
	 * @param wechatInterfaceView
	 * @return WechatInterfaceView
	 */
	WechatInterfaceView insert(WechatInterfaceView wechatInterfaceView);

	/**
	 * @Description:根据主键获取
	 * @param studentId
	 * @return WechatInterfaceView
	 */
	WechatInterfaceView getByPriKey(String studentId);

	/**
	 * @Description:根据对象主键更新对象不为空字段
	 * @param wechatInterfaceView
	 * @return WechatInterfaceView
	 */
	WechatInterfaceView updateSelective(WechatInterfaceView wechatInterfaceView);

	/**
	 * @Description:根据对象主键更新对象不为空字段
	 * @param wechatInterfaceView
	 * @return WechatInterfaceView
	 */
	WechatInterfaceView update(WechatInterfaceView wechatInterfaceView);

	/**
	 * @Description:根据主键获取
	 * @param studentId
	 * @return WechatInterfaceView
	 */
	WechatInterfaceView delete(String studentId);

	// 2018-9-23 chenbin: 
//	WechatInterfaceView getByPhone(String phone);
	// 2018-9-23 chenbin: 
	Map<String, String> getMap(String phone);

}
